#ifndef DIALOGSYNCDATABASE_H
#define DIALOGSYNCDATABASE_H

#include <QDialog>

namespace Ui {
    class DialogSyncDataBase;
}
class ThreadSyncRemoteDB;
class QCheckBox;
class DialogSyncDataBase : public QDialog
{
    Q_OBJECT

public:
    explicit DialogSyncDataBase(QWidget *parent = 0);
    ~DialogSyncDataBase();
signals:
    void sigSyncDB(QString remoteHost, QString remoteDBName, QString remoteDBType, QString remoteuserName,
                    QString remotePwd, QString localDBName, QString localDBType, QString localUserName,
                   QString localPwd,  QStringList listTableNames);
private slots:
    void on_pushButtonClose_clicked();

    void on_pBSync_clicked();
    void slotInfo(QString info);


private:
    Ui::DialogSyncDataBase *ui;
    ThreadSyncRemoteDB* threadSyncRemoteDB;
    QList <QCheckBox*> listCheckBox;
};

#endif // DIALOGSYNCDATABASE_H
